package com.free.utl;

import java.util.Calendar;

import org.apache.commons.lang.time.DateFormatUtils;

/**
 * Util class.
 *
 * @author YongXia.
 *
 * @since jdk1.6
 * @version 1.0
 *
 */
public final class Util {

    public static void consoleLog(final Object o) {

        System.out.println(String.format("%s[%s] - %s", DateFormatUtils.format(Calendar.getInstance(),
                Constants.DATA_FORMAT_PATTERN_DEFAULT), Thread.currentThread().getName(), o.toString()));
    }

    private Util() {
    }

}
